<?php 

/**
 * Locale AR
 * 
 * Locale class name is PHP native...
 * @author David Monllaó <david.monllao@gmail.com>
 */
class LocaleLang extends ActiveRecordSystem {

    function __construct($locale, $timeadded = false) {

    	parent::__construct();
    	
        $this->tablename = 'locales';
        
        if (!$timeadded) {
            $timeadded = time();
        }
        
        $this->dbobj->name = $locale;
        $this->dbobj->timeadded = $timeadded;
    }
}
